import Child1 from "./pages/child1";
import Child2 from "./pages/child2";
import { useState, React } from "react";


function App() {
  const [count, setCount] = useState(0);

  return (
    <div className="App">
      <header className="App-header">
        <p>
          Edit <code>src/App.js</code> and save to reload.
        </p>
      </header>
      <Child1 count={count} setCount={setCount}>
        <span name='this is funcking span' id="1234214">one</span>
        <div>two</div>
        <h2>three</h2>
        <ul>
          <li>sss</li>
          <li>sss</li>
          <li>sss</li>
        </ul>
      </Child1>
      <Child2 count={count} setCount={setCount}></Child2>
    </div>
  );
}

export default App;
